AIMuse\Services\WebSocket\Connection A

Total Complexity 69
Dependencies 5
Dependents 1
Total lines 497
Lines of code 299
Logical lines of code 191
Comment lines 104
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
pullFrame()
A
44 8 45
pushFrame()
A
46 8 36
pullMessage()
A
48 8 33
autoRespond()
S
48 6 34
read()
S
51 6 25
close()
S
54 5 20
throwException()
S
58 4 16
write()
S
62 3 11
pushMessage()
S
62 2 11
tell()
S
69 2 7
gets()
S
64 2 9
getLine()
S
64 2 9
__destruct()
S
74 2 5
setTimeout()
S
74 1 4
eof()
S
80 1 3
__construct()
S
71 1 6
getMeta()
S
80 1 3
getRemoteName()
S
79 1 3
getName()
S
79 1 3
isConnected()
S
78 1 3
disconnect()
S
76 1 4
getCloseStatus()
S
82 1 3
setOptions()
S
79 1 3
getType()
S
80 1 3